ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / CommonShaderStage<T> Class / Set Method / Set(T,ClassInstance[]) Method
The shader to assign to the device. Assign null to disable the compute shader.
An array of class-instance interfaces. Each interface used by a shader must have a corresponding class instance or the shader will get disabled.

In This Topic
    Set(T,ClassInstance[]) Method
    In This Topic
    Assigns a compute shader to the device.
    Syntax
    'Declaration
     
    Public Overloads Sub Set( _
       ByVal shader As T, _
       ByVal classInstances() As ClassInstance _
    ) 
    public void Set( 
       T shader,
       ClassInstance[] classInstances
    )

    Parameters

    shader
    The shader to assign to the device. Assign null to disable the compute shader.
    classInstances
    An array of class-instance interfaces. Each interface used by a shader must have a corresponding class instance or the shader will get disabled.
    See Also